/**
 * @filename:CourseSubCourseDao Course
 * @project constract  V1.0
 * Copyright(c) 2018 gong Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.znufe.exam.domain.CourseSubCourse;

/**   
 *  
 * @Description:  课程表——DAO
 * @Author:       gong   
 * @CreateDate:   Course
 * @Version:      V1.0
 *    
 */
@Mapper
public interface CourseSubCourseMapper {
	
	CourseSubCourse selectByPrimaryKey(Integer id);
	
	int deleteByPrimaryKey(Integer id);
	
	int insertSelective(CourseSubCourse courseSubCourse);
	
	int updateByPrimaryKeySelective(CourseSubCourse courseSubCourse);
	
	List<CourseSubCourse> queryCourseSubCourseList(CourseSubCourse courseSubCourse);

	List<Integer> getAllSubCourseId(Integer courseId);

	int deleteByCourseId(Integer courseId);
}
